package com.xxx.mall.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xxx.mall.model.BaseDO;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 店铺详情
 * </p>
 *
 * @author 邢晨旭
 * @since 2023-11-16
 */
@Getter
@Setter
@TableName("shop_detail")
public class ShopDetail extends BaseDO {

    /**
     * 店铺id
     */
    @TableId(value = "shop_id", type = IdType.AUTO)
    private Long shopId;

    /**
     * 店铺名称
     */
    @TableField("shop_name")
    private String shopName;

    /**
     * 店铺简介
     */
    @TableField("intro")
    private String intro;

    /**
     * 店铺logo(可修改)
     */
    @TableField("shop_logo")
    private String shopLogo;

    /**
     * 店铺移动端背景图
     */
    @TableField("mobile_background_pic")
    private String mobileBackgroundPic;

    /**
     * 店铺状态(0: 停业中 1:营业中)
     */
    @TableField("shop_status")
    private Integer shopStatus;

    /**
     * 营业执照
     */
    @TableField("business_license")
    private String businessLicense;

    /**
     * 身份证正面
     */
    @TableField("identity_card_front")
    private String identityCardFront;

    /**
     * 身份证反面
     */
    @TableField("identity_card_later")
    private String identityCardLater;

    /**
     * 店铺类型1自营店 2普通店
     */
    @TableField("type")
    private Integer type;
}
